﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing;

namespace Edu.Entitys
{
    public class AppAchievement : FullAuditedAggregateRoot<Guid>
    {
        [Required]
        [StringLength(128)]
        public string Name
        {
            get;
            set;
        }
        [StringLength(256)]
        public string ActiveIcon
        {
            get;
            set;
        }

        [StringLength(256)]
        public string DisableIcon
        {
            get;
            set;
        }

        [StringLength(256)]
        public string Description
        {
            get;
            set;
        }
        /// <summary>
        /// 勋章所属
        /// </summary>
        public AchievementBelong Belong
        {
            get;
            set;
        }
    }
}